﻿<miria:TButton x:Class="MIRIADemo.Pages.MainMenu.X10HALButton"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:miria="clr-namespace:MIRIA.UIKit;assembly=MIRIA"  
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" Loaded="TButton_Loaded" Width="200" Height="200" Margin="5,5">

    <Border CornerRadius="20" BorderBrush="White" BorderThickness="1">
        <Grid>
            <Border x:Name="ButtonBackground" CornerRadius="20" BorderBrush="White" BorderThickness="1">
                <Border.Background>
                    <SolidColorBrush Color="Purple"></SolidColorBrush>
                </Border.Background>
            </Border>

            <Border Background="Black" Width="200" Height="50" Margin="0,20" Padding="5,0" VerticalAlignment="Bottom">
                <TextBlock FontFamily="Trebuchet MS" FontSize="20" Foreground="White">
                    <Run>about</Run>
                    <LineBreak />
                    <Run>X10 HAL</Run>
                </TextBlock>
            </Border>


            <Image x:Name="LightImage" Source="../../images/light.png" Height="64" Width="64" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="10,20" Visibility="Collapsed"></Image>

            <TextBlock x:Name="Description" Foreground="White" FontFamily="Georgia" FontSize="12" Margin="55,26,0,0" TextAlignment="Center" Opacity="0.75" Visibility="Collapsed">
                <Run>Windows Phone 7</Run>
                <LineBreak />
                <Run>Home Automation</Run>
                <LineBreak />
                <Run>client for</Run>
                <LineBreak />
                <Run>ActiveHome Pro</Run>
            </TextBlock>

            <TextBlock x:Name="Slogan" Foreground="Yellow" FontFamily="Georgia" FontSize="16" Margin="0,96,0,0" TextAlignment="Center" Visibility="Collapsed">simply enlightening</TextBlock>

        </Grid>
    </Border>
</miria:TButton>
